<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
<script type="text/javascript">
	let arr1 = [1,2,32,2,4,4,2,6,7,4,5,67];
	let arr2 = [];
	for(let i = 0;i<arr1.length;i++){
		if(arr2.indexOf(arr1[i])==-1){
			arr2.push(arr1[i])
		}
	}
    console.log(arr2)
</script>
	
</body>
</html>